package org.yabam.model;

import java.math.BigDecimal;
import java.util.Date;

public abstract class Operation {
	private long id;
	private BigDecimal amount;
	private Date creationDate;

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the amount
	 */
	public BigDecimal getAmount() {
		return amount;
	}

	/**
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/**
	 * @return the creationDate
	 */
	public Date getCreationDate() {
		return creationDate;
	}

	/**
	 * @param creationDate
	 *            the creationDate to set
	 */
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	/**
	 * @return the operationDate
	 */
	public Date getOperationDate() {
		return operationDate;
	}

	/**
	 * @param operationDate
	 *            the operationDate to set
	 */
	public void setOperationDate(Date operationDate) {
		this.operationDate = operationDate;
	}

	/**
	 * @return the effectivenessDate
	 */
	public Date getEffectivenessDate() {
		return effectivenessDate;
	}

	/**
	 * @param effectivenessDate
	 *            the effectivenessDate to set
	 */
	public void setEffectivenessDate(Date effectivenessDate) {
		this.effectivenessDate = effectivenessDate;
	}

	private Date operationDate;
	private Date effectivenessDate;
}
